'''
Created on Aug 27, 2012

@author: petrina
'''

class Output_exception(Exception):
    """ this Exception is usually raised if there are problems with generating the output (plot, csv, etc.)"""

    def __init__(self, value = ""):
        self.value = value

    def __str__(self):
        return repr(self.value)
    
    
class Plot_exception(Output_exception):
    """ this Exception is usually raised if there is an error with the plots"""

    def __init__(self, value = ""):
        self.value = value


class CSV_exception(Output_exception):
    """ this Exception is usually raised if there are errors at the csv-export"""

    def __init__(self, value = ""):
        self.value = value